﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000811 RID: 2065
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetSaveRaidCsReq : IMessage<GetSaveRaidCsReq>, IMessage, IEquatable<GetSaveRaidCsReq>, IDeepCloneable<GetSaveRaidCsReq>, IBufferMessage
	{
		// Token: 0x17001A30 RID: 6704
		// (get) Token: 0x06005C93 RID: 23699 RVA: 0x000F7F68 File Offset: 0x000F6168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetSaveRaidCsReq> Parser
		{
			get
			{
				return GetSaveRaidCsReq._parser;
			}
		}

		// Token: 0x17001A31 RID: 6705
		// (get) Token: 0x06005C94 RID: 23700 RVA: 0x000F7F6F File Offset: 0x000F616F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetSaveRaidCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A32 RID: 6706
		// (get) Token: 0x06005C95 RID: 23701 RVA: 0x000F7F81 File Offset: 0x000F6181
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetSaveRaidCsReq.Descriptor;
			}
		}

		// Token: 0x06005C96 RID: 23702 RVA: 0x000F7F88 File Offset: 0x000F6188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSaveRaidCsReq()
		{
		}

		// Token: 0x06005C97 RID: 23703 RVA: 0x000F7F90 File Offset: 0x000F6190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSaveRaidCsReq(GetSaveRaidCsReq other) : this()
		{
			this.worldLevel_ = other.worldLevel_;
			this.raidId_ = other.raidId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005C98 RID: 23704 RVA: 0x000F7FC1 File Offset: 0x000F61C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSaveRaidCsReq Clone()
		{
			return new GetSaveRaidCsReq(this);
		}

		// Token: 0x17001A33 RID: 6707
		// (get) Token: 0x06005C99 RID: 23705 RVA: 0x000F7FC9 File Offset: 0x000F61C9
		// (set) Token: 0x06005C9A RID: 23706 RVA: 0x000F7FD1 File Offset: 0x000F61D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x17001A34 RID: 6708
		// (get) Token: 0x06005C9B RID: 23707 RVA: 0x000F7FDA File Offset: 0x000F61DA
		// (set) Token: 0x06005C9C RID: 23708 RVA: 0x000F7FE2 File Offset: 0x000F61E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RaidId
		{
			get
			{
				return this.raidId_;
			}
			set
			{
				this.raidId_ = value;
			}
		}

		// Token: 0x06005C9D RID: 23709 RVA: 0x000F7FEB File Offset: 0x000F61EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetSaveRaidCsReq);
		}

		// Token: 0x06005C9E RID: 23710 RVA: 0x000F7FF9 File Offset: 0x000F61F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetSaveRaidCsReq other)
		{
			return other != null && (other == this || (this.WorldLevel == other.WorldLevel && this.RaidId == other.RaidId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005C9F RID: 23711 RVA: 0x000F8038 File Offset: 0x000F6238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this.RaidId != 0U)
			{
				num ^= this.RaidId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005CA0 RID: 23712 RVA: 0x000F8090 File Offset: 0x000F6290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005CA1 RID: 23713 RVA: 0x000F8098 File Offset: 0x000F6298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005CA2 RID: 23714 RVA: 0x000F80A4 File Offset: 0x000F62A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RaidId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.RaidId);
			}
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005CA3 RID: 23715 RVA: 0x000F8100 File Offset: 0x000F6300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this.RaidId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RaidId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005CA4 RID: 23716 RVA: 0x000F8158 File Offset: 0x000F6358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetSaveRaidCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			if (other.RaidId != 0U)
			{
				this.RaidId = other.RaidId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005CA5 RID: 23717 RVA: 0x000F81A8 File Offset: 0x000F63A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005CA6 RID: 23718 RVA: 0x000F81B4 File Offset: 0x000F63B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.WorldLevel = input.ReadUInt32();
					}
				}
				else
				{
					this.RaidId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040023C5 RID: 9157
		private static readonly MessageParser<GetSaveRaidCsReq> _parser = new MessageParser<GetSaveRaidCsReq>(() => new GetSaveRaidCsReq());

		// Token: 0x040023C6 RID: 9158
		private UnknownFieldSet _unknownFields;

		// Token: 0x040023C7 RID: 9159
		public const int WorldLevelFieldNumber = 15;

		// Token: 0x040023C8 RID: 9160
		private uint worldLevel_;

		// Token: 0x040023C9 RID: 9161
		public const int RaidIdFieldNumber = 10;

		// Token: 0x040023CA RID: 9162
		private uint raidId_;
	}
}
